package com.ct.rbac.convert;

import com.ct.rbac.model.SysRoleModel;
import com.ct.rbac.orm.SysRolesDO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface SysRoleConvertDOToModel {

    SysRoleModel convert(SysRolesDO sysRolesDO);

    List<SysRoleModel> convert(List<SysRolesDO> sysRolesDOS);
}
